﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Purchase.Domian.Model
{
   /// <summary>
   /// 质检表
   /// </summary>
    public class Quality:EntityModel
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        [Key]
        /// <summary>
        /// 主键
        /// </summary>
        public int QuaId { get; set; }
        /// <summary>
        /// 质检编号
        /// </summary>
        public string QuaCode { get; set; }
        /// <summary>
        /// 质检名称
        /// </summary>
        public string QuaName { get; set; }
        /// <summary>
        /// 软件日期
        /// </summary>
        public DateTime QuaDate { get; set; }
        /// <summary>
        /// 质检部门
        /// </summary>
        public int QuaDepId { get; set; }
        /// <summary>
        /// 质检人
        /// </summary>
        public string QualityInspector { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string QuaRemark { get; set; }
        /// <summary>
        /// 质检完商品的状态 0-未合格 1-已合格
        /// </summary>
        public bool QuaState { get; set; }
        /// <summary>
        /// 来料日期
        /// </summary>
        public DateTime LDate { get; set; }
        
    }
}
